/* eslint-disable no-param-reassign */
// 统计中的零件列表
const initQueryParams = {
  // 供应商
  suppliers: [],
  // 项目id
  projectIds: [],
  // 零件id
  ecuIds: [],
  modelIds: []
}
const state = {
  queryParams: {
    ...initQueryParams
  }
}
const mutations = {
  // 清空查询条件
  resetStatisticsEcuQueryParams (state) {
    state.queryParams = { ...initQueryParams }
  }
}

const actions = {

}

export default {
  state,
  mutations,
  actions
}
